package com.wisdom.benefit.jufa.utils;

import androidx.annotation.ColorInt;
import androidx.annotation.ColorRes;
import androidx.core.content.ContextCompat;

import com.wisdom.benefit.jufa.base.BaseApplication;

public final class ColorUtil {

    @ColorInt
    public static int getColor(@ColorRes int idRes) {
        return ContextCompat.getColor(BaseApplication.getContext(), idRes);
    }
}
